//
//  NKWebHomeViewController.m
//  NewKY
//
//  Created by Dee on 2016/11/14.
//  Copyright © 2016年 Dee. All rights reserved.
//

#import "NKWebHomeViewController.h"

@interface NKWebHomeViewController ()<UIWebViewDelegate>

@end

@implementation NKWebHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    
    
    UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    [self.view addSubview:webView];
    
    webView.delegate = self;
    
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://202.106.210.115:18080/hyde-pluto-h360/nt/appEntrance.htm"]];
    
    [webView loadRequest:request];
    
    
}

-(void)webViewDidStartLoad:(UIWebView *)webView{
    
    [SVProgressHUD showProgress:-1 status:@"加载中"];
    
}

-(void)webViewDidFinishLoad:(UIWebView *)webView{
    
    [SVProgressHUD showSuccessWithStatus:@"加载完成"];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
